package com.kingdee.eas.construmanag;

import com.kingdee.bos.BOSException;
import com.kingdee.bos.BOSObjectFactory;
import com.kingdee.bos.util.BOSObjectType;
import com.kingdee.bos.Context;

public class XmghFactory
{
    private XmghFactory()
    {
    }
    public static com.kingdee.eas.construmanag.IXmgh getRemoteInstance() throws BOSException
    {
        return (com.kingdee.eas.construmanag.IXmgh)BOSObjectFactory.createRemoteBOSObject(new BOSObjectType("3A7B29D2") ,com.kingdee.eas.construmanag.IXmgh.class);
    }
    
    public static com.kingdee.eas.construmanag.IXmgh getRemoteInstanceWithObjectContext(Context objectCtx) throws BOSException
    {
        return (com.kingdee.eas.construmanag.IXmgh)BOSObjectFactory.createRemoteBOSObjectWithObjectContext(new BOSObjectType("3A7B29D2") ,com.kingdee.eas.construmanag.IXmgh.class, objectCtx);
    }
    public static com.kingdee.eas.construmanag.IXmgh getLocalInstance(Context ctx) throws BOSException
    {
        return (com.kingdee.eas.construmanag.IXmgh)BOSObjectFactory.createBOSObject(ctx, new BOSObjectType("3A7B29D2"));
    }
    public static com.kingdee.eas.construmanag.IXmgh getLocalInstance(String sessionID) throws BOSException
    {
        return (com.kingdee.eas.construmanag.IXmgh)BOSObjectFactory.createBOSObject(sessionID, new BOSObjectType("3A7B29D2"));
    }
}